package kuonjisai.oop;

public class J31_FanService implements J31_FanInterface {

	@Override
	public void toString(J31_FanVO fvo) {
		
		if ( fvo.isOn() ){
			System.out.println( fvo.getSpeed() );
			System.out.println( fvo.getColor() );
			System.out.println( fvo.getRadius() );
			System.out.println( "작동중" );
		}
		else {
			System.out.println( fvo.getColor() );
			System.out.println( fvo.getRadius() );
			System.out.println( "꺼져있음" );
		}
		
	} // toString
	
} // J31_FanService
